package com.ryl.yomall.model.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ryl.yomall.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author ryl
 *
 *
 * */
@Data
@ApiModel(description = "UserInfo")
@TableName("user_info")
public class UserInfo extends BaseEntity {
   
   private static final long serialVersionUID = 1L;
   
   @ApiModelProperty(value = "用户名称")
   @TableField("login_name")
   private String loginName;

   @ApiModelProperty(value = "用户昵称")
   @TableField("nick_name")
   private String nickName;

   @ApiModelProperty(value = "用户密码")
   @TableField("passwd")
   private String passwd;

   @ApiModelProperty(value = "用户姓名")
   @TableField("name")
   private String name;

   @ApiModelProperty(value = "手机号")
   @TableField("phone_num")
   private String phoneNum;

   @ApiModelProperty(value = "邮箱")
   @TableField("email")
   private String email;

   @ApiModelProperty(value = "头像")
   @TableField("head_img")
   private String headImg;

   @ApiModelProperty(value = "用户级别")
   @TableField("user_level")
   private String userLevel;

}
